package com.ctg.payroll2.service;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.ctg.payroll2.bean.po.PbCity;
import com.ctg.payroll2.bean.po.PbProvince;
import com.ctg.platform.util.Page;

public interface ProvinceCityService {

	void insertByJson(String province);

	void updateByJson(String province);

	Page getProvinceCity(Map parameters, int n, int m);

	void saveProvinceCity(PbCity o);

	void saveProvinceCity(PbProvince o);

	void deleteProvinceCity(List data) throws SQLException;
	
    boolean deleteProvince(List data)throws SQLException;
    
	List queryProvince();

	List query(Integer provinceId, String name);
	
	/**
	 * 省市级联：通过省的id查询城市
	 * @param province_id
	 * @return
	 */
	List queryCityByProviceId(int province_id);

}
